import java.awt.Color;
import java.awt.Graphics;

import javax.swing.JPanel;


public class Holes extends JPanel
{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Color col = Color.WHITE;
	private int x = 0, y = 0;
	
	public int getterX() 
	{
		return x;
	}

	public void setX(int x) 
	{
		this.x = x;
	}

	public int getterY() 
	{
		return y;
	}

	public void setY(int y) 
	{
		this.y = y;
	}

	public Color getCol() 
	{
		return col;
	}

	public void setCol(Color col) 
	{
		this.col = col;
	}

	public Holes()
	{	
	}
	
	public void paintComponent(Graphics g)
	{
		g.setColor(getCol());
		g.fillOval(getterX(),getterY(), 30, 30);
		System.out.println(getterX()+" "+getterY());
	}
}
